<?php
class AddTbToneEvt extends BaseUpdateEvt{
	
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode, $type,
						 $toneBoxID, $toneID, $toneCode)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
		
		$this->type				= $type;
		$this->toneBoxID		= $toneBoxID;
		$this->toneID			= $toneID;
		$this->toneCode			= $toneCode;		
	}
	
	public $objectRole;
	
	public $objectCode;
		
	public $type;
		
	public $toneBoxID;
		
	public $toneID;
		
	public $toneCode;
		
	public $toneOffsets;
		
	public $toneEndOffsets;
		
}

class DelTbToneEvt extends BaseUpdateEvt{
	
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,$type,
						 $toneBoxID, $toneID, $toneCode)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
		
		$this->type				= $type;
		$this->toneBoxID		= $toneBoxID;
		$this->toneID			= $toneID;
		$this->toneCode			= $toneCode;		
	}
	
	public $objectRole;
	
	public $objectCode;
		
	public $type;
		
	public $toneBoxID;
		
	public $toneID;
		
	public $toneCode;
		
	public $toneOffsets;
		
	public $toneEndOffsets;
		
}

class QueryTbToneEvt extends BaseEvt 
{
	
	function __construct($portalAccount, $portalPwd, $portalType, $type, $approveType, $toneBoxID)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType);
		
		$this->type			= $type;
		
		$this->approveType	= $approveType;
		
		$this->toneBoxID	= $toneBoxID;
	}
	
	public $type;
	
	public $approveType;
	
	public $toneBoxID;
}
?>